package com.zhxymm.book.dao;

import com.zhxymm.book.entity.UserOne;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserOneRepository extends CrudRepository<UserOne,Long> {
    @Override
    public List<UserOne> findAll();

    UserOne findByUserId(long theId);
}
